Blitz (131/213)

From:David McMinn
Date:24 May 2000 at 11:40:45
Subject:Re: Recursive directory scans... :)

Hi Gareth

> After finding a sub-directory in the main directory, it scans through it, as it
> should, but as soon as the files run out in the sub-directory, it stops,
> regardless of whether all the files from the main directory have been scanned or
> not. Any ideas why? How to fix it? :)

Never noticed that before. And I don't have the code here to check. All the
variables that are used for the scan (directory lock, fileinfoblock, etc)
should be local to the function, not global variables that have been shared.

You could also have a look at the directory scanning source in my dir2html
program (http://de.aminet.net/aminetbin/find?dir2html). It does recursive scans
and it works :)



|) /\ \/ ][ |) |\/| c |\/| ][ |\| |\| | dave@satanicdreams.com
http://members.xoom.com/David_McMinn | ICQ=16827694
God loves stupid people. That's why he made so many.

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie